<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>v_sdirxss: main.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">v_sdirxss
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('main_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">main.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file demonstrates the SDI Tx to SDI Tx loopback design for KCU116 board. </p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date       Changes
</p>
<hr/>
<p>
1.0  jsr   03/07/2018 Initial version
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a9e3c02ccaf71eeda39e2524f2fb02a41"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a9e3c02ccaf71eeda39e2524f2fb02a41">I2C_MUX_ADDR</a>&#160;&#160;&#160;0x74</td></tr>
<tr class="memdesc:a9e3c02ccaf71eeda39e2524f2fb02a41"><td class="mdescLeft">&#160;</td><td class="mdescRight">I2C Mux Address.  <a href="#a9e3c02ccaf71eeda39e2524f2fb02a41">More...</a><br/></td></tr>
<tr class="separator:a9e3c02ccaf71eeda39e2524f2fb02a41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71bd0b63917e21a117972939353bda39"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a71bd0b63917e21a117972939353bda39">I2C_CLK_ADDR</a>&#160;&#160;&#160;0x69</td></tr>
<tr class="memdesc:a71bd0b63917e21a117972939353bda39"><td class="mdescLeft">&#160;</td><td class="mdescRight">I2C Clk Address.  <a href="#a71bd0b63917e21a117972939353bda39">More...</a><br/></td></tr>
<tr class="separator:a71bd0b63917e21a117972939353bda39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeaa94c22b1497d88bcfbda1aada5f5c3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#aeaa94c22b1497d88bcfbda1aada5f5c3">I2C_CLK_ADDR_570</a>&#160;&#160;&#160;0x5D</td></tr>
<tr class="memdesc:aeaa94c22b1497d88bcfbda1aada5f5c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">I2C Clk Address for Si570.  <a href="#aeaa94c22b1497d88bcfbda1aada5f5c3">More...</a><br/></td></tr>
<tr class="separator:aeaa94c22b1497d88bcfbda1aada5f5c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aef548e0580a2fece5b5e93a1d85e2693"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#aef548e0580a2fece5b5e93a1d85e2693">Si570_SetClock</a> (u32 IICBaseAddress, u8 IICAddress1, u32 RxRefClk)</td></tr>
<tr class="memdesc:aef548e0580a2fece5b5e93a1d85e2693"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the output frequency of the Si570 clock generator.  <a href="#aef548e0580a2fece5b5e93a1d85e2693">More...</a><br/></td></tr>
<tr class="separator:aef548e0580a2fece5b5e93a1d85e2693"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cf76bc3b0015d44bad6f4c06d91840d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a3cf76bc3b0015d44bad6f4c06d91840d">slave_StringCopy</a> (char *StrOut, spi_slave_sel slave_sel)</td></tr>
<tr class="memdesc:a3cf76bc3b0015d44bad6f4c06d91840d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function copies string based on spi slave selection.  <a href="#a3cf76bc3b0015d44bad6f4c06d91840d">More...</a><br/></td></tr>
<tr class="separator:a3cf76bc3b0015d44bad6f4c06d91840d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5f15506155750b79c8ceb1d9e86d34c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#ae5f15506155750b79c8ceb1d9e86d34c">cls</a> (void)</td></tr>
<tr class="memdesc:ae5f15506155750b79c8ceb1d9e86d34c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function clears the screen.  <a href="#ae5f15506155750b79c8ceb1d9e86d34c">More...</a><br/></td></tr>
<tr class="separator:ae5f15506155750b79c8ceb1d9e86d34c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02342d10c85639bdae1d87b14fe27ecc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a02342d10c85639bdae1d87b14fe27ecc">get_input2_val</a> (void)</td></tr>
<tr class="memdesc:a02342d10c85639bdae1d87b14fe27ecc"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function takes the input from user.  <a href="#a02342d10c85639bdae1d87b14fe27ecc">More...</a><br/></td></tr>
<tr class="separator:a02342d10c85639bdae1d87b14fe27ecc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a530af0defe4cf466cd38622a380d55b5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a530af0defe4cf466cd38622a380d55b5">ctrl_main_menu</a> (unsigned char IsValid)</td></tr>
<tr class="memdesc:a530af0defe4cf466cd38622a380d55b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function display the user menu.  <a href="#a530af0defe4cf466cd38622a380d55b5">More...</a><br/></td></tr>
<tr class="separator:a530af0defe4cf466cd38622a380d55b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa66903a327c8a77c9231c706ec30845"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#aaa66903a327c8a77c9231c706ec30845">ctlr_spi_slv_select_menu</a> (unsigned char IsValid)</td></tr>
<tr class="memdesc:aaa66903a327c8a77c9231c706ec30845"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function displays spi slave selection menu.  <a href="#aaa66903a327c8a77c9231c706ec30845">More...</a><br/></td></tr>
<tr class="separator:aaa66903a327c8a77c9231c706ec30845"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc28bf3154c5b5181cd2b9f99b839249"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#adc28bf3154c5b5181cd2b9f99b839249">mode_menu</a> (unsigned char IsMode)</td></tr>
<tr class="memdesc:adc28bf3154c5b5181cd2b9f99b839249"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function has Menu to generate modes.  <a href="#adc28bf3154c5b5181cd2b9f99b839249">More...</a><br/></td></tr>
<tr class="separator:adc28bf3154c5b5181cd2b9f99b839249"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c2fd3307e327bf0185f6bd9ebf77894"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a2c2fd3307e327bf0185f6bd9ebf77894">sd_reso_menu</a> (unsigned char IsSDReso)</td></tr>
<tr class="memdesc:a2c2fd3307e327bf0185f6bd9ebf77894"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function has Menu for resolutions.  <a href="#a2c2fd3307e327bf0185f6bd9ebf77894">More...</a><br/></td></tr>
<tr class="separator:a2c2fd3307e327bf0185f6bd9ebf77894"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b83dcf46998c41d4614d6aab97dc5b9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a3b83dcf46998c41d4614d6aab97dc5b9">hd_reso_menu</a> (unsigned char IsHDReso)</td></tr>
<tr class="memdesc:a3b83dcf46998c41d4614d6aab97dc5b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function has Menu for HD resolutions.  <a href="#a3b83dcf46998c41d4614d6aab97dc5b9">More...</a><br/></td></tr>
<tr class="separator:a3b83dcf46998c41d4614d6aab97dc5b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad86bcc6ca1d495d4795ab65b67ca1a81"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#ad86bcc6ca1d495d4795ab65b67ca1a81">threeg_reso_menu</a> (unsigned char Is3GReso)</td></tr>
<tr class="memdesc:ad86bcc6ca1d495d4795ab65b67ca1a81"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function has Menu for 3G resolutions.  <a href="#ad86bcc6ca1d495d4795ab65b67ca1a81">More...</a><br/></td></tr>
<tr class="separator:ad86bcc6ca1d495d4795ab65b67ca1a81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73e1fb3f3dbef1234db54b9122f18947"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a73e1fb3f3dbef1234db54b9122f18947">higher_reso_menu</a> (unsigned char IsHigerReso)</td></tr>
<tr class="memdesc:a73e1fb3f3dbef1234db54b9122f18947"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function has Menu for higher resolutions.  <a href="#a73e1fb3f3dbef1234db54b9122f18947">More...</a><br/></td></tr>
<tr class="separator:a73e1fb3f3dbef1234db54b9122f18947"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76456e808780516595338c4d897a9860"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a76456e808780516595338c4d897a9860">fps_1_menu</a> (unsigned char IsFPS1)</td></tr>
<tr class="memdesc:a76456e808780516595338c4d897a9860"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function has Menu for fps.  <a href="#a76456e808780516595338c4d897a9860">More...</a><br/></td></tr>
<tr class="separator:a76456e808780516595338c4d897a9860"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a874cf26fa1cfa9dc5ce630362e5839ee"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a874cf26fa1cfa9dc5ce630362e5839ee">fps_2_menu</a> (unsigned char IsFPS2)</td></tr>
<tr class="memdesc:a874cf26fa1cfa9dc5ce630362e5839ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function has Menu for fps.  <a href="#a874cf26fa1cfa9dc5ce630362e5839ee">More...</a><br/></td></tr>
<tr class="separator:a874cf26fa1cfa9dc5ce630362e5839ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a978a70e27fa89a83d756f636b2a7b8a5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a978a70e27fa89a83d756f636b2a7b8a5">fps_3_menu</a> (unsigned char IsFPS3)</td></tr>
<tr class="memdesc:a978a70e27fa89a83d756f636b2a7b8a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function has Menu for fps.  <a href="#a978a70e27fa89a83d756f636b2a7b8a5">More...</a><br/></td></tr>
<tr class="separator:a978a70e27fa89a83d756f636b2a7b8a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51124c00ce76c4a3c4b1eacd65d4c250"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a51124c00ce76c4a3c4b1eacd65d4c250">fps_4_menu</a> (unsigned char IsFPS4)</td></tr>
<tr class="memdesc:a51124c00ce76c4a3c4b1eacd65d4c250"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function has Menu for fps.  <a href="#a51124c00ce76c4a3c4b1eacd65d4c250">More...</a><br/></td></tr>
<tr class="separator:a51124c00ce76c4a3c4b1eacd65d4c250"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65d2423e5050c0762aace9d641b87558"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a65d2423e5050c0762aace9d641b87558">report_audio_status</a> (void)</td></tr>
<tr class="memdesc:a65d2423e5050c0762aace9d641b87558"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reports audio status.  <a href="#a65d2423e5050c0762aace9d641b87558">More...</a><br/></td></tr>
<tr class="separator:a65d2423e5050c0762aace9d641b87558"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e9dc2300cc248046430a5965b817cdb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a7e9dc2300cc248046430a5965b817cdb">reset_audio_generator</a> (void)</td></tr>
<tr class="memdesc:a7e9dc2300cc248046430a5965b817cdb"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets the audio test pattern generator.  <a href="#a7e9dc2300cc248046430a5965b817cdb">More...</a><br/></td></tr>
<tr class="separator:a7e9dc2300cc248046430a5965b817cdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1d2f9644cc18814abd4e6db0a900de2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#ac1d2f9644cc18814abd4e6db0a900de2">GT_Reset</a> (void)</td></tr>
<tr class="memdesc:ac1d2f9644cc18814abd4e6db0a900de2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets the audio test pattern generator.  <a href="#ac1d2f9644cc18814abd4e6db0a900de2">More...</a><br/></td></tr>
<tr class="separator:ac1d2f9644cc18814abd4e6db0a900de2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8fafc708fdca45ad263f4d0b087e451"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#ab8fafc708fdca45ad263f4d0b087e451">ctrl_app</a> (unsigned char inchar)</td></tr>
<tr class="memdesc:ab8fafc708fdca45ad263f4d0b087e451"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function has Main control for Fidus FMC register configuration.  <a href="#ab8fafc708fdca45ad263f4d0b087e451">More...</a><br/></td></tr>
<tr class="separator:ab8fafc708fdca45ad263f4d0b087e451"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46e1879ef137e22f4caa73828a422bda"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a46e1879ef137e22f4caa73828a422bda">get_ctrl_app_input</a> (void)</td></tr>
<tr class="memdesc:a46e1879ef137e22f4caa73828a422bda"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function Fetch input from UART then callback voip_contrl_app to process the selction.  <a href="#a46e1879ef137e22f4caa73828a422bda">More...</a><br/></td></tr>
<tr class="separator:a46e1879ef137e22f4caa73828a422bda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Main function to call example with SDI RX and SDI TX drivers for KCU116 board.  <a href="#ae66f6b31b5ad750f1fe042a706a4e3d4">More...</a><br/></td></tr>
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a71bd0b63917e21a117972939353bda39"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define I2C_CLK_ADDR&#160;&#160;&#160;0x69</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>I2C Clk Address. </p>

</div>
</div>
<a class="anchor" id="aeaa94c22b1497d88bcfbda1aada5f5c3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define I2C_CLK_ADDR_570&#160;&#160;&#160;0x5D</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>I2C Clk Address for Si570. </p>

<p>Referenced by <a class="el" href="main_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a9e3c02ccaf71eeda39e2524f2fb02a41"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define I2C_MUX_ADDR&#160;&#160;&#160;0x74</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>I2C Mux Address. </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ae5f15506155750b79c8ceb1d9e86d34c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cls </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function clears the screen. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>Referenced by <a class="el" href="main_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main()</a>.</p>

</div>
</div>
<a class="anchor" id="aaa66903a327c8a77c9231c706ec30845"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ctlr_spi_slv_select_menu </td>
          <td>(</td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>IsValid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function displays spi slave selection menu. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">IsValid</td><td>Returns from menu for a 0 value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>Referenced by <a class="el" href="main_8c.html#ab8fafc708fdca45ad263f4d0b087e451">ctrl_app()</a>.</p>

</div>
</div>
<a class="anchor" id="ab8fafc708fdca45ad263f4d0b087e451"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ctrl_app </td>
          <td>(</td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>inchar</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function has Main control for Fidus FMC register configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inchar</td><td>Character input to show the main menu.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>References <a class="el" href="main_8c.html#aaa66903a327c8a77c9231c706ec30845">ctlr_spi_slv_select_menu()</a>, <a class="el" href="main_8c.html#a530af0defe4cf466cd38622a380d55b5">ctrl_main_menu()</a>, <a class="el" href="main_8c.html#a76456e808780516595338c4d897a9860">fps_1_menu()</a>, <a class="el" href="main_8c.html#a874cf26fa1cfa9dc5ce630362e5839ee">fps_2_menu()</a>, <a class="el" href="main_8c.html#a978a70e27fa89a83d756f636b2a7b8a5">fps_3_menu()</a>, <a class="el" href="main_8c.html#a51124c00ce76c4a3c4b1eacd65d4c250">fps_4_menu()</a>, <a class="el" href="main_8c.html#a02342d10c85639bdae1d87b14fe27ecc">get_input2_val()</a>, <a class="el" href="main_8c.html#a3b83dcf46998c41d4614d6aab97dc5b9">hd_reso_menu()</a>, <a class="el" href="main_8c.html#a73e1fb3f3dbef1234db54b9122f18947">higher_reso_menu()</a>, <a class="el" href="main_8c.html#adc28bf3154c5b5181cd2b9f99b839249">mode_menu()</a>, <a class="el" href="main_8c.html#a65d2423e5050c0762aace9d641b87558">report_audio_status()</a>, <a class="el" href="main_8c.html#a7e9dc2300cc248046430a5965b817cdb">reset_audio_generator()</a>, <a class="el" href="main_8c.html#a2c2fd3307e327bf0185f6bd9ebf77894">sd_reso_menu()</a>, <a class="el" href="main_8c.html#a3cf76bc3b0015d44bad6f4c06d91840d">slave_StringCopy()</a>, and <a class="el" href="main_8c.html#ad86bcc6ca1d495d4795ab65b67ca1a81">threeg_reso_menu()</a>.</p>

<p>Referenced by <a class="el" href="main_8c.html#a46e1879ef137e22f4caa73828a422bda">get_ctrl_app_input()</a>, and <a class="el" href="main_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a530af0defe4cf466cd38622a380d55b5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ctrl_main_menu </td>
          <td>(</td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>IsValid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function display the user menu. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">IsValid</td><td>Returns from menu for a 0 value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>Referenced by <a class="el" href="main_8c.html#ab8fafc708fdca45ad263f4d0b087e451">ctrl_app()</a>.</p>

</div>
</div>
<a class="anchor" id="a76456e808780516595338c4d897a9860"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void fps_1_menu </td>
          <td>(</td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>IsFPS1</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function has Menu for fps. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">IsFPS1</td><td>Returns from menu for a 0 value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>HD-720p,1080i, 3G-A, 12G </dd></dl>

<p>Referenced by <a class="el" href="main_8c.html#ab8fafc708fdca45ad263f4d0b087e451">ctrl_app()</a>.</p>

</div>
</div>
<a class="anchor" id="a874cf26fa1cfa9dc5ce630362e5839ee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void fps_2_menu </td>
          <td>(</td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>IsFPS2</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function has Menu for fps. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">IsFPS2</td><td>Returns from menu for a 0 value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>HD-1080p </dd></dl>

<p>Referenced by <a class="el" href="main_8c.html#ab8fafc708fdca45ad263f4d0b087e451">ctrl_app()</a>.</p>

</div>
</div>
<a class="anchor" id="a978a70e27fa89a83d756f636b2a7b8a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void fps_3_menu </td>
          <td>(</td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>IsFPS3</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function has Menu for fps. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">IsFPS3</td><td>Returns from menu for a 0 value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>3G-B, 6G </dd></dl>

<p>Referenced by <a class="el" href="main_8c.html#ab8fafc708fdca45ad263f4d0b087e451">ctrl_app()</a>.</p>

</div>
</div>
<a class="anchor" id="a51124c00ce76c4a3c4b1eacd65d4c250"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void fps_4_menu </td>
          <td>(</td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>IsFPS4</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function has Menu for fps. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">IsFPS4</td><td>Returns from menu for a 0 value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>HD-1080pSF </dd></dl>

<p>Referenced by <a class="el" href="main_8c.html#ab8fafc708fdca45ad263f4d0b087e451">ctrl_app()</a>.</p>

</div>
</div>
<a class="anchor" id="a46e1879ef137e22f4caa73828a422bda"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void get_ctrl_app_input </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function Fetch input from UART then callback voip_contrl_app to process the selction. </p>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>References <a class="el" href="main_8c.html#ab8fafc708fdca45ad263f4d0b087e451">ctrl_app()</a>.</p>

<p>Referenced by <a class="el" href="main_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a02342d10c85639bdae1d87b14fe27ecc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void get_input2_val </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function takes the input from user. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>Referenced by <a class="el" href="main_8c.html#ab8fafc708fdca45ad263f4d0b087e451">ctrl_app()</a>.</p>

</div>
</div>
<a class="anchor" id="ac1d2f9644cc18814abd4e6db0a900de2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GT_Reset </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function resets the audio test pattern generator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

</div>
</div>
<a class="anchor" id="a3b83dcf46998c41d4614d6aab97dc5b9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void hd_reso_menu </td>
          <td>(</td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>IsHDReso</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function has Menu for HD resolutions. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">IsHDReso</td><td>Returns from menu for a 0 value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>Referenced by <a class="el" href="main_8c.html#ab8fafc708fdca45ad263f4d0b087e451">ctrl_app()</a>.</p>

</div>
</div>
<a class="anchor" id="a73e1fb3f3dbef1234db54b9122f18947"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void higher_reso_menu </td>
          <td>(</td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>IsHigerReso</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function has Menu for higher resolutions. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">IsHigerReso</td><td>Returns from menu for a 0 value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>Referenced by <a class="el" href="main_8c.html#ab8fafc708fdca45ad263f4d0b087e451">ctrl_app()</a>.</p>

</div>
</div>
<a class="anchor" id="ae66f6b31b5ad750f1fe042a706a4e3d4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Main function to call example with SDI RX and SDI TX drivers for KCU116 board. </p>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if SDI example was successfully.</li>
<li>XST_FAILURE if SDI example failed.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>References <a class="el" href="main_8c.html#ae5f15506155750b79c8ceb1d9e86d34c">cls()</a>, <a class="el" href="main_8c.html#ab8fafc708fdca45ad263f4d0b087e451">ctrl_app()</a>, <a class="el" href="main_8c.html#a46e1879ef137e22f4caa73828a422bda">get_ctrl_app_input()</a>, <a class="el" href="main_8c.html#aeaa94c22b1497d88bcfbda1aada5f5c3">I2C_CLK_ADDR_570</a>, and <a class="el" href="main_8c.html#aef548e0580a2fece5b5e93a1d85e2693">Si570_SetClock()</a>.</p>

</div>
</div>
<a class="anchor" id="adc28bf3154c5b5181cd2b9f99b839249"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mode_menu </td>
          <td>(</td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>IsMode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function has Menu to generate modes. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">IsMode</td><td>Returns from menu for a 0 value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>Referenced by <a class="el" href="main_8c.html#ab8fafc708fdca45ad263f4d0b087e451">ctrl_app()</a>.</p>

</div>
</div>
<a class="anchor" id="a65d2423e5050c0762aace9d641b87558"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void report_audio_status </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function reports audio status. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>Referenced by <a class="el" href="main_8c.html#ab8fafc708fdca45ad263f4d0b087e451">ctrl_app()</a>.</p>

</div>
</div>
<a class="anchor" id="a7e9dc2300cc248046430a5965b817cdb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void reset_audio_generator </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function resets the audio test pattern generator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>Referenced by <a class="el" href="main_8c.html#ab8fafc708fdca45ad263f4d0b087e451">ctrl_app()</a>.</p>

</div>
</div>
<a class="anchor" id="a2c2fd3307e327bf0185f6bd9ebf77894"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void sd_reso_menu </td>
          <td>(</td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>IsSDReso</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function has Menu for resolutions. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">IsSDReso</td><td>Returns from menu for a 0 value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>Referenced by <a class="el" href="main_8c.html#ab8fafc708fdca45ad263f4d0b087e451">ctrl_app()</a>.</p>

</div>
</div>
<a class="anchor" id="aef548e0580a2fece5b5e93a1d85e2693"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Si570_SetClock </td>
          <td>(</td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>IICBaseAddress</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>IICAddress1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>RxRefClk</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the output frequency of the Si570 clock generator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">IICBaseAddress</td><td>contains the base address of the IIC master device. </td></tr>
    <tr><td class="paramname">IICAddress1</td><td>contains the 7 bit IIC address of the Si5324 device. </td></tr>
    <tr><td class="paramname">RxRefClk</td><td>is the input reference clock that can be either of FREQ_SI570_148_5_MHz, FREQ_SI570_148_35_MHz</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>SI5324_SUCCESS for success, SI5324_ERR_IIC for IIC access failure, SI5324_ERR_FREQ when the requested frequency cannot be generated, SI5324_ERR_PARM when the ClkSrc or ClkDest parameters are invalid or the ClkInFreq or ClkOutFreq are out of range. </dd></dl>

<p>Referenced by <a class="el" href="main_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a3cf76bc3b0015d44bad6f4c06d91840d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void slave_StringCopy </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>StrOut</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">spi_slave_sel&#160;</td>
          <td class="paramname"><em>slave_sel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function copies string based on spi slave selection. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">StrOut</td><td>Destination string. </td></tr>
    <tr><td class="paramname">slave_sel</td><td>The string to be copied.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>Referenced by <a class="el" href="main_8c.html#ab8fafc708fdca45ad263f4d0b087e451">ctrl_app()</a>.</p>

</div>
</div>
<a class="anchor" id="ad86bcc6ca1d495d4795ab65b67ca1a81"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void threeg_reso_menu </td>
          <td>(</td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>Is3GReso</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function has Menu for 3G resolutions. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Is3GReso</td><td>Returns from menu for a 0 value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>Referenced by <a class="el" href="main_8c.html#ab8fafc708fdca45ad263f4d0b087e451">ctrl_app()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
